import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { Api } from '../providers/api';
import 'rxjs/add/operator/map';

@Injectable()
export class supervisionlogApi {

    constructor(public http: Http, public api: Api) {

    }
    //查询所有工作日志
    querylog()
    {
      
              return this.api.get('/WorkLog/Query')
            .map(res => res.json());
    }
}